List of business trips
This request returns a list of business trips.
Request syntax
POST https://b2b-api.go.yandex.ru/integration/2.0/travels/list
Request headers
Authorization: Bearer <OAuth-token>
OAuth access token. The steps to get a token are described in Getting started.
X-YaTaxi-Selected-Corp-Client-Id— client ID from the account. Required if multiple clients are available using the token.
Request body
Order data is transmitted in JSON format:
|
Field |
Description |
Format |
Required |
|
|
Filter by business trip name. |
String |
No |
|
|
Start date of the filtering period. |
String |
No |
|
|
End date of the filtering period. |
String |
No |
|
|
Cursor for the next page. |
String |
No |
|
|
Maximum number of entries returned. Value from 1 to 10. By default 10. |
Number |
No |
Response field description
The response may contain the following fields:
|
Field |
Description |
Format |
Required |
|
|
List of business trips — an array of TravelItem objects. Only confirmed and paid trips are returned in the response; canceled and returned trips are not included. |
Array |
Yes |
|
|
Cursor for the next page. To view the next page, you need to specify this cursor in the |
String |
No |
The structure of the TravelItem object:
|
Field |
Description |
Format |
Required |
|
|
Unique ID of the business trip. |
String |
Yes |
|
|
Name of the business trip. |
String |
Yes |
|
|
Start date of the business trip. |
String |
No |
|
|
End date of the business trip. |
String |
No |
|
|
Date and time the record created. |
String |
Yes |
|
|
Hotel reservations — an array of HotelReservationItem objects. |
String |
Yes |
|
|
Train trips — an array of TrainsTrip objects. |
Array |
Yes |
|
|
Flight reservations — an array of AviaReservationItem objects. |
String |
Yes |
The structure of the HotelReservationItem object:
|
Field |
Description |
Format |
Required |
|
|
Booking identifier. |
String |
Yes |
|
|
Booking identifier on the supplier's side. This identifier is displayed on the "Orders and Reports" page. |
String |
Yes |
|
|
Country. |
String |
Yes |
|
|
City. |
String |
Yes |
|
|
Hotel address. |
String |
Yes |
|
|
Hotel name. |
String |
Yes |
|
|
Room type. |
String |
Yes |
|
|
Price. |
String |
Yes |
|
|
Number of stars. |
String |
No |
|
|
Booking participants — an array of HotelReservationUserItem objects. |
Array |
Yes |
|
|
Check-in date. |
String |
Yes |
|
|
Check-out date. |
String |
Yes |
|
|
Voucher link. The link is valid for a limited time — it's recommended to download the file upon receipt and save it. |
String |
No |
The structure of the HotelReservationUserItem object:
|
Field |
Description |
Format |
Required |
|
|
ID of a user the hotel is booked for. |
String |
Yes |
|
|
Full name of the user the hotel is booked for. |
String |
Yes |
The structure of the AviaReservationItem object:
|
Field |
Description |
Format |
Required |
|
|
Booking ID. |
String |
Yes |
|
|
Flight cost — object Price. |
Object |
No |
|
|
Additional charges — Price object. |
Object |
No |
|
|
Outbound flight — AviaTripInfo object. |
Object |
Yes |
|
|
Return flight — AviaTripInfo object. |
Object |
No |
|
|
Flight participants — an array of AviaReservationUserItem objects. |
Array |
Yes |
The structure of the AviaReservationUserItem object:
|
Field |
Description |
Format |
Required |
|
|
ID of the user the ticket is purchased for. |
String |
Yes |
|
|
Full name of the user the ticket is purchased for. |
String |
Yes |
|
|
Ticket price — Price object. |
Object |
Yes |
The structure of the AviaTripInfo object:
One-way flight. May include transfers.
|
Field |
Description |
Format |
Required |
|
|
Departure city. |
String |
Yes |
|
|
Departure airport. |
String |
Yes |
|
|
Departure time. |
String |
Yes |
|
|
Arrival city. |
String |
Yes |
|
|
Arrival airport. |
String |
Yes |
|
|
Arrival time. |
String |
Yes |
|
|
Total duration (minutes). |
Number |
Yes |
|
|
Flight segments — an array of AviaFlightInfo objects. |
Array |
Yes |
The structure of the AviaFlightInfo object:
|
Field |
Description |
Format |
Required |
|
|
Airline. |
String |
Yes |
|
|
Airline code. |
String |
No |
|
|
Flight number. |
String |
No |
|
|
Departure city. |
String |
Yes |
|
|
Departure airport. |
String |
Yes |
|
|
Departure airport code. |
String |
Yes |
|
|
Departure time. |
String |
Yes |
|
|
Arrival city. |
String |
Yes |
|
|
Arrival airport. |
String |
Yes |
|
|
Arrival airport code. |
String |
Yes |
|
|
Arrival time. |
String |
Yes |
|
|
Flight duration (minutes). |
Number |
Yes |
|
|
Baggage information — an array of AviaBaggageInfo objects. |
Array |
No |
The structure of the AviaBaggageInfo object:
|
Field |
Description |
Format |
Required |
|
|
Number of pieces of luggage. |
Integer |
Yes |
|
|
Baggage weight (kg). |
Integer |
Yes |
|
|
Baggage size (cm). |
Integer |
Yes |
|
|
Cabin baggage ( |
Boolean |
Yes |
The structure of the TrainsTrip object:
Train trip.
|
Field |
Description |
Format |
Required |
|
|
Trip ID. |
String |
Yes |
|
|
Route parts — an array of TrainsTripPart objects. |
Array |
Yes |
|
|
Link to the ticket form. The link is valid for a limited time — it's recommended to download the file upon receipt and save it. |
String |
Yes |
The structure of the TrainsTripPart object:
One part of the train trip route. Contains information about the direction, train, etc.
|
Field |
Description |
Format |
Required |
|
|
ID of the trip part. |
String |
Yes |
|
|
Departure city. |
String |
Yes |
|
|
Departure station code. |
String |
Yes |
|
|
Departure station name. |
String |
Yes |
|
|
Arrival city. |
String |
Yes |
|
|
Arrival station code. |
String |
Yes |
|
|
Arrival station name. |
String |
Yes |
|
|
Departure time. |
String |
Yes |
|
|
Arrival time. |
String |
Yes |
|
|
Duration (minutes). |
Number |
Yes |
|
|
Direction. Possible values: |
String |
Yes |
|
|
Train number. |
String |
Yes |
|
|
Train name. |
String |
No |
|
|
Train description. |
String |
No |
|
|
It's required to print the ticket. |
Boolean |
No |
|
|
List of reservations — an array of TrainsReservation objects. |
Array |
Yes |
The structure of the TrainsReservation object:
Contains information about the carriage, seat, etc.
|
Field |
Description |
Format |
Required |
|
|
Reservation ID. |
String |
Yes |
|
|
RZD booking number. |
String |
No |
|
|
Total cost — Price object. |
Object |
Yes |
|
|
Refund amount — Price object. |
Object |
No |
|
|
Passengers — an array of TrainsReservationUserInfo objects. |
Array |
Yes |
|
|
Seat type. Possible values:
|
Array |
No |
|
|
Service class. |
String |
Yes |
|
|
Car number. |
String |
Yes |
|
|
Car description. |
String |
Yes |
|
|
Car type. Possible values:
|
String |
Yes |
|
|
Gender in the compartment. Possible values:
|
String |
No |
|
|
Bedding included. |
Boolean |
No |
|
|
Cost of additional services — Price object. |
Object |
Yes |
|
|
Additional services in the car. Array of strings. Possible values:
|
Array |
No |
|
|
Type of seat reservation purchase. Possible values:
|
String |
No |
|
|
Compartment number. |
String |
No |
|
|
Arrival time. |
String |
No |
|
|
Additional information. |
String |
No |
|
|
Carrier. |
String |
No |
The structure of the TrainsReservationUserInfo object:
Contains information about the train passenger.
|
Field |
Description |
Format |
Required |
|
|
User ID. |
String |
Yes |
|
|
User's full name. |
String |
Yes |
|
|
Seat numbers. |
Array of integers |
Yes |
|
|
Cost per seat — Price object. |
Object |
Yes |
The structure of the Price object:
Price with currency.
|
Field |
Description |
Format |
Required |
|
|
Amount. For example: |
String |
Yes |
|
|
Currency code (e.g., RUB, USD). |
String |
Yes |
Request example
POST https://b2b-api.go.yandex.ru/integration/2.0/travels/list
...
Authorization: Bearer <OAuth-token>
X-YaTaxi-Selected-Corp-Client-Id: <client-id>
{
"name": "Moscow 13.08.2025 - 14.08.2025"
}
Response example
An example of a response to this request looks as follows:
{
"travel_items": [
{
"id": "0507669f-0387-41ac-9f4d-a4514a5739f0",
"name": "Moscow 13.08.2025 - 14.08.2025",
"created_at": "2025-07-02T13:48:40.862011+00:00",
"hotel_reservations": [
{
"id": "02a4add7-d052-4c7f-a957-e5572f5785fe",
"external_id": "12345678",
"country": "Russia",
"city": "Moscow",
"hotel_address": "Pushkina Street, Building 1, Moscow",
"hotel_name": "Mini-Hotel on Pushkina Street",
"room_name": "BUDGET DOUBLE ROOM WITH 1 BED WITHOUT WINDOW (BUNK BED, SHARED BATHROOM ON THE FLOOR)",
"price": {
"value": "2766.06",
"currency": "RUB"
},
"users": [
{
"id": "098bfbffb02648c88caccc047def2446",
"fullname": "Ivanov Ivan"
}
],
"date_from": "2025-08-13",
"date_until": "2025-08-14",
"stars": 2,
"voucher_url": "VOUCHER_URL"
}
],
"train_trips": [
{
"id": "16b0b75b-60e5-4df3-8d78-7c342f2725ab",
"trip_parts": [
{
"trip_part_id": "de412d52-bf38-463e-901a-946c8be79752",
"departure_city": "SAINT PETERSBURG",
"departure_station_code": "2004001",
"departure_station_name": "SAINT PETERSBURG-MAIN",
"arrival_city": "MOSCOW",
"arrival_station_code": "2006004",
"arrival_station_name": "MOSCOW OKTYABRSKAYA",
"departure_time": "2025-08-13T09:00:00+00:00",
"arrival_time": "2025-08-13T12:58:00+00:00",
"total_duration": 238,
"direction": "forward",
"train_number": "759A",
"reservations": [
{
"id": "20b4d5b7-83a1-4b42-aecd-0d233b8ba43e",
"total_cost": {
"value": "5031.20",
"currency": "RUB"
},
"users": [
{
"id": "098bfbffb02648c88caccc047def2446",
"fullname": "Ivanov Ivan",
"places": [
49
],
"cost": {
"value": "5031.20",
"currency": "RUB"
}
}
],
"service_class": "2C",
"car_number": "06",
"car_description": "U0",
"car_type": "Sedentary",
"service_cost": {
"value": "117.60",
"currency": "RUB"
},
"car_services": [],
"booking_number": "75600963602640",
"place_type": "NoWindowBackward",
"cabin_gender_type": "none",
"place_reservation_type": "Usual",
"compartment_number": "23"
}
],
"train_name": "SAPSAN",
"is_ticket_print_required": false
}
],
"blank_url": "BLANK_URL"
}
],
"avia_reservations": [
{
"id": "66592711-51fc-4dd6-80ba-722d8f00fbe7",
"forward_trip": {
"departure_city": "Moscow",
"departure_airport": "Domodedovo Airport",
"departure_time": "2025-08-14T17:00:00+00:00",
"arrival_city": "Saint Petersburg",
"arrival_airport": "Pulkovo Airport",
"arrival_time": "2025-08-14T18:30:00+00:00",
"total_duration": 90,
"flights": [
{
"airline": "Ural Airlines",
"departure_city": "Moscow",
"departure_airport": "Domodedovo Airport",
"departure_airport_code": "DME",
"departure_time": "2025-08-14T17:00:00+00:00",
"arrival_city": "Saint Petersburg",
"arrival_airport": "Pulkovo Airport",
"arrival_airport_code": "LED",
"arrival_time": "2025-08-14T18:30:00+00:00",
"total_duration": 90,
"airline_code": "U6",
"flight_number": "124",
"baggage_info": [
{
"pieces": 1,
"weight": 10,
"size": 0,
"is_cabin": true
}
]
}
]
},
"users": [
{
"id": "098bfbffb02648c88caccc047def2446",
"fullname": "Ivanov Ivan",
"price": {
"value": "3897.00",
"currency": "RUB"
}
}
],
"cost": {
"value": "3797.00",
"currency": "RUB"
},
"extra_charge_cost": {
"value": "100.00",
"currency": "RUB"
}
}
],
"date_from": "2025-08-13",
"date_to": "2025-08-14"
}
]
}
Response codes
The response to this request may contain the following standard HTTP codes:
200— the request was successfully completed.403— the client doesn't have sufficient permissions to execute this request.- SELECT_CLIENT_HEADER_REQUIRED — the request doesn't include the
X-YaTaxi-Selected-Corp-Client-Idheader (returned if there's more than one client for the token). - SELECTED_CLIENT_ACCESS_DENIED — this login doesn't have access to the client ID provided in the
X-YaTaxi-Selected-Corp-Client-Idheader.
- SELECT_CLIENT_HEADER_REQUIRED — the request doesn't include the
429— request limit exceeded.